package com.wangxinyuchuan.demo.constant;

public enum DiscountVolumeEnum {

    RED_PAPER(0, "红包"),
    SHOPPING(1, "购物"),
    QQ_VIP(2, "QQ会员")
    ;


    private final int code;

    private final String type;


    DiscountVolumeEnum(int code, String type) {
        this.code = code;
        this.type = type;
    }

    public int getCode() {
        return code;
    }

    public String getType() {
        return type;
    }
}
